﻿<%@ Page Title="" Language="C#" MasterPageFile="~/mpAdmin.Master" AutoEventWireup="true" CodeBehind="MainAdmin.aspx.cs" Inherits="Dack_Web2.MainAdmin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
    AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" 
    GridLines="None" onpageindexchanging="GridView1_PageIndexChanging" style="margin-left: 0px">
    <AlternatingRowStyle BackColor="White" />
    <Columns>
        <asp:BoundField DataField="NgayDang" HeaderText="Ngày đăng" DataFormatString="{0:dd/MM/yyyy}" />
        <asp:BoundField DataField="TenSanPham" HeaderText="Tên SP" />
        <asp:BoundField DataField="GiaSanPham" DataFormatString="{0:#,#,##}" 
            HeaderText="Giá" />
        <asp:HyperLinkField DataNavigateUrlFields="MaDeal" 
            DataNavigateUrlFormatString="~/DealDetails.aspx?dealId={0}" 
            Text="Chi tiết" />
        <asp:CheckBoxField DataField="XacNhan" HeaderText="Xác nhận" />
    </Columns>
    <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
    <PagerSettings Mode="NumericFirstLast" />
    <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
    <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
    <SortedAscendingCellStyle BackColor="#FDF5AC" />
    <SortedAscendingHeaderStyle BackColor="#4D0000" />
    <SortedDescendingCellStyle BackColor="#FCF6C0" />
    <SortedDescendingHeaderStyle BackColor="#820000" />
</asp:GridView>
</asp:Content>
